package com.xxxx.dao;

import com.xxxx.entity.Student;

import java.util.ArrayList;

public interface StudentDao {
    //增加
    int save(Student student) throws Exception;
    //删除
    int del(int cno) throws Exception;
    //修改
    int update(Student student) throws Exception;
    //查询
    ArrayList<Student> getAll() throws Exception;
}
